package com.lhkj.ct.meta.admin.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lhkj.ct.meta.admin.model.entity.TblPost;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 岗位表 Mapper 接口
 * </p>
 *
 * @author jobob
 * @since 2023-09-08
 */
public interface SysPostMapper extends BaseMapper<TblPost> {

    Long checkPostExistUser(@Param("postId") String postId);

    IPage<TblPost> selectPostPage(Page<TblPost> page, @Param("post") TblPost post);
}
